// SSCANF.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#include "stdlib.h"


int main(int argc, char* argv[])
{
	int a, b, c;

	sscanf("2014:10:20", "%d:%d:%d", &a, &b, &c);
    printf("%d-%d-%d\n", a, b, c);
	return 0;
}
